<!-- 查询列表模板 -->
<div th:fragment="container">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
		</div>
	</div>
</div>
<!-- 查询列表模板 -->
<div th:fragment="purchase">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<div class="layui-tab layui-tab-brief istype" lay-filter="demo1" style="display: none;margin-top: 0;">	
				<ul class="layui-tab-title" >
				  <li class="layui-this">待审核</li>
				  <li>已审核</li>
				</ul>
				<div class="layui-tab-content"></div>
			  </div>

			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
					  <li class="layui-this">商品信息</li>
					  <li>操作日志</li>
					</ul>
					<button style="position:absolute;right:10px;top:5px;height: 30px;line-height: 30px;display: none;" class="layui-btn layui-btn-normal zjbcbtn">保存</button>
					<div class="layui-tab-content"></div>
				</div> 
				<div id="sontable"><table class="layui-hide" id="pdhtable" lay-filter="pftable"></table></div>
			</div>
			
		</div>
		
	</div>
</div>
<!-- 查询列表模板-头程计划单明细 -->
<div th:fragment="fbaplanorderdetail">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<div class="layui-tab layui-tab-brief istype" lay-filter="demo1" style="display: none;margin-top: 0;">	
				<ul class="layui-tab-title" >
				  <li class="layui-this">待审核</li>
				  <li>已审核</li>
				</ul>
				<div class="layui-tab-content"></div>
			  </div>   
			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
					  <li class="layui-this">头程计划单明细</li>
					  <!-- <li>操作日志</li> -->
					</ul>
					<button style="position:absolute;right:10px;top:5px;height: 30px;line-height: 30px;display: none;" class="layui-btn layui-btn-normal zjbcbtn">保存</button>
					<div class="layui-tab-content"></div>
				</div> 
				<table class="layui-hide" id="pdhtable" lay-filter="pftable"></table> 
			</div>
			
		</div>
		
	</div>
</div>
<!-- 查询列表模板-头程装箱单明细 -->
<div th:fragment="fbaboxdetail">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<div class="layui-tab layui-tab-brief istype" lay-filter="demo1" style="display: none;margin-top: 0;">	
				<ul class="layui-tab-title" >
				  <li class="layui-this">待审核</li>
				  <li>已审核</li>
				</ul>
				<div class="layui-tab-content"></div>
			  </div>   
			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
					  <li class="layui-this">装箱单明细</li>
					  <!-- <li>操作日志</li> -->
					</ul>
					<button style="position:absolute;right:10px;top:5px;height: 30px;line-height: 30px;display: none;" class="layui-btn layui-btn-normal zjbcbtn">保存</button>
					<div class="layui-tab-content"></div>
				</div> 
				<table class="layui-hide" id="pdhtable" lay-filter="pftable"></table> 
			</div>
			
		</div>
		
	</div>
</div>
<!-- 查询列表模板-头程发货单明细 -->
<div th:fragment="fbaDispatch">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<div class="layui-tab layui-tab-brief istype" lay-filter="demo1" style="display: none;margin-top: 0;">
				<ul class="layui-tab-title" >
					<li class="layui-this">待审核</li>
					<li>已审核</li>
				</ul>
				<div class="layui-tab-content"></div>
			</div>
			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
						<li class="layui-this">装箱单明细</li>
						<!-- <li>操作日志</li> -->
					</ul>
					<button style="position:absolute;right:10px;top:5px;height: 30px;line-height: 30px;display: none;" class="layui-btn layui-btn-normal zjbcbtn">保存</button>
					<div class="layui-tab-content"></div>
				</div>
				<table class="layui-hide" id="pdhtable" lay-filter="pftable"></table>
			</div>

		</div>

	</div>
</div>

<!-- 查询列表模板-对账明细 -->
<div th:fragment="hwFinalStatement">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<table class="layui-hide hwF" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
						<li class="layui-this">尾程对账明细</li>
					</ul>
					<div class="layui-tab-content"></div>
				</div>
				<table class="layui-hide" id="pdhtable" lay-filter="pftable"></table>
			</div>

		</div>

	</div>
</div>

<!-- 查询列表模板-物流对账明细 -->
<div th:fragment="fbaLogisticsReconcile">
	<div class="main-content">
		<div class="content-right">
			<div class="search-top" >
				<span>查询条件</span>
				<a href="javascript:;"  class="menuBtn">
					<i class="layui-icon layui-icon-spread-left" id="LAY_app_flexible" style="color: #fff;"></i>
				</a>
			</div>
			<div class="panel layout-expand layui-expand-east">
				<div class="panel-header">
					<div class="panel-tool" style="text-align: center; width: 26px;height: 30px;line-height: 30px;">
						<a href="javascript:;" layadmin-event="flexible" class="menuBtn">
							<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible" style="color: #fff;"></i>
						</a>
					</div>
				</div>
				<div class="panel-body panel-title" style="text-align: center; width: 26px;">查<br>询<br>条<br>件</div>
			</div>
			<form class="layui-form">
				<th:block th:include="listinclude :: searchRight('page')" />
			</form>
		</div>
		<div class="mid-content">
			<div class="layui-tab layui-tab-brief istype" lay-filter="demo1" style="display: none;margin-top: 0;">
				<ul class="layui-tab-title" >
					<li class="layui-this">待审核</li>
					<li>已审核</li>
				</ul>
				<div class="layui-tab-content"></div>
			</div>
			<table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
			<div class="spxx" style="display: none;">
				<div class="layui-tab layui-tab-brief demo2" lay-filter="demo2" style="position:relative;">
					<ul class="layui-tab-title">
						<li class="layui-this">对账明细</li>
					</ul>
					<button style="position:absolute;right:10px;top:5px;height: 30px;line-height: 30px;display: none;" class="layui-btn layui-btn-normal zjbcbtn">保存</button>
					<div class="layui-tab-content"></div>
				</div>
				<table class="layui-hide" id="pdhtable" lay-filter="pftable"></table>
			</div>

		</div>

	</div>
</div>
<!-- 查询条件——顶部 -->
<div th:fragment="searchTop">
	<div class="layui-form layuiadmin-card-header-auto">
		<div class="layui-form-item">
			<div class="layui-inline layui-col-xs3">
				<label class="layui-form-label">条件：</label>
				<div class="layui-input-block">
					<select id="condition" name="condition" th:with="type=${@baseinfosimple.getFieldFrontConditions(moduleTable,moduleTableEntity)}" lay-filter="fft">
						<option th:each="dict : ${type}" th:text="${dict.fieldName}" th:value="${dict.fields}" th:fft="${dict.fieldFrontType}" th:ffct="${dict.fieldFrontConditionsType}" th:fst="${dict.fieldSearchType}"></option>
					</select>
				</div>
			</div>
			<div class="layui-inline layui-col-xs3 append-this" style="width:240px">
				<a class="layui-btn layuiadmin-btn-order dhicon dh-search" id="btn-search" style="margin-left:15px"><span class="fa_span">查询</span></a>
				<button type="reset" class="layui-btn layui-btn-primary dhicon dh-refresh" id="dh-resets"><span class="fa_span">重置</span></button>
			</div>
		</div>
	</div>
</div>
<!-- 查询条件——右侧 -->
<div th:fragment="searchRight(pageType)">
	<div id="cephalosome" class="layui-form layuiadmin-card-header-auto" th:with="fixtype=${@baseinfosimple.getFieldFrontConditions(moduleTable,moduleTableEntity,pageType)}">
		<div class="layui-form-item">
			<label class="layui-form-label">扩展条件：</label>
			<div class="layui-input-block">
				<select id="condition" name="condition" th:with="type=${fixtype}" lay-filter="fft">
					<option th:if="${dict.fieldFrontConditionsFixed} eq false" th:each="dict : ${type}" th:text="${dict.fieldName}" th:value="${dict.fields}" th:fft="${dict.fieldFrontType}" th:ffct="${dict.fieldFrontConditionsType}" th:fst="${dict.fieldSearchType}" th:fieldDefault="${dict.fieldFrontConditionsDefault}"></option>
				</select>
			</div>
		</div>
		<div th:class="${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'layui-form-item item-height':'layui-form-item'}" th:if="${fixdict.fieldFrontConditionsFixed} eq true" th:each="fixdict : ${fixtype}" th:style="${fixdict.fieldFrontTemplet eq 't_textarea' ? 'height:auto' : ''}">
			<label class="layui-form-label">[[${fixdict.fieldName}]][[${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'从':''}]]：</label>

			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_s'" th:id="${fixdict.fields}+'_s'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>
			<label th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-form-label">到：</label>
			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_e'" th:id="${fixdict.fields}+'_e'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>

			<div th:if="(${fixdict.fieldFrontType} eq 't_text' or ${fixdict.fieldFrontType} eq 't_textarea') and (${fixdict.fieldFrontConditionsType} ne 't_between')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_textarea'}" type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<textarea th:if="${fixdict.fieldFrontTemplet eq 't_textarea'}" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-textarea search-field" fft="t_text_area" th:ffct="${fixdict.fieldFrontConditionsType}"></textarea>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>

			<div th:if="(${fixdict.fieldFrontType} eq 't_decimal')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_number'}" type='number' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>

			<div th:if="${fixdict.fieldFrontType} eq 't_date'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_date" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_year'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_year" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
	    	<div th:if="${fixdict.fieldFrontType} eq 't_monthly'" class="layui-input-block">
	    		<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_monthly" th:ffct="${fixdict.fieldFrontConditionsType}">
    			<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
    			<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
	    	</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_datetime'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_datetime" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkcondition'" class="layui-input-block">
				<input type='checkbox' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="search-field" lay-skin="primary" fft="t_checkcondition" th:attr="checked=${fixdict.fieldFrontConditionsDefault ne ''?true:false}">
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_radio'" th:switch="${fixdict.fields}" class="layui-input-block">
				<div th:case="userSex">
					<input type="radio" id="userSex" name="userSex" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSex" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="userSexDA">
					<input type="radio" id="userSexDA" name="userSexDA" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSexDA" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="*">
					<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
					<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkbox'" class="layui-input-block">
				<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
				<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${#strings.containsIgnoreCase(fixdict.fieldFrontType,'t_buttontext')}" class="layui-input-block">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field buttontext" th:getType="${fixdict.fields}" autocomplete="off"/>
				<i class="layui-icon layui-icon-more getMore" th:onclick="getMore([[${fixdict.fields}]],null,[[${fixdict.fieldName}]],[[${fixdict.fieldSearchType}]],true);" th:getType="${fixdict?.fields}"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdown'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdownedit'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input" style="position:absolute;overflow:hidden;z-index:2;width: calc(100% - 30px);" lay-verify="required" onkeyup="inputSearch()" onblur="refreshSelect()" autocomplete="off">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
		</div>
		<div class="layui-hide append-this"></div>
	</div>
	<div class="layui-form-item btn-item">
		<a class="layui-btn layuiadmin-btn-order dhicon dh-search" id="btn-search"><span class="fa_span">查询</span></a>
		<button type="reset" class="layui-btn layui-btn-primary dhicon dh-refresh reset" id="dh-resets"><span class="fa_span">重置</span></button>
	</div>
</div>
<!-- 查询条件——右侧 -->
<div th:fragment="searchRightNew(paramModuleTable, pageType, rootId)">
	<div th:id="${rootId}" class="layui-form layuiadmin-card-header-auto" th:with="fixtype=${@baseinfosimple.getFieldFrontConditions(paramModuleTable,moduleTableEntity,pageType)}">
		<div class="layui-form-item">
			<label class="layui-form-label">扩展条件：</label>
			<div class="layui-input-block">
				<select id="condition" name="condition" th:with="type=${fixtype}" lay-filter="fft">
					<option th:if="${dict.fieldFrontConditionsFixed} eq false" th:each="dict : ${type}" th:text="${dict.fieldName}" th:value="${dict.fields}" th:fft="${dict.fieldFrontType}" th:ffct="${dict.fieldFrontConditionsType}" th:fst="${dict.fieldSearchType}" th:fieldDefault="${dict.fieldFrontConditionsDefault}"></option>
				</select>
			</div>
		</div>
		<div th:class="${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'layui-form-item item-height':'layui-form-item'}" th:if="${fixdict.fieldFrontConditionsFixed} eq true" th:each="fixdict : ${fixtype}" th:style="${fixdict.fieldFrontTemplet eq 't_textarea' ? 'height:auto' : ''}">
			<label class="layui-form-label">[[${fixdict.fieldName}]][[${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'从':''}]]：</label>

			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_s'" th:id="${fixdict.fields}+'_s'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>
			<label th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-form-label">到：</label>
			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_e'" th:id="${fixdict.fields}+'_e'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>

			<div th:if="(${fixdict.fieldFrontType} eq 't_text' or ${fixdict.fieldFrontType} eq 't_textarea') and (${fixdict.fieldFrontConditionsType} ne 't_between')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_textarea'}" type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<textarea th:if="${fixdict.fieldFrontTemplet eq 't_textarea'}" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-textarea search-field" fft="t_text_area" th:ffct="${fixdict.fieldFrontConditionsType}"></textarea>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>

			<div th:if="(${fixdict.fieldFrontType} eq 't_decimal')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_number'}" type='number' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>

			<div th:if="${fixdict.fieldFrontType} eq 't_date'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_date" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_year'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_year" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
	    	<div th:if="${fixdict.fieldFrontType} eq 't_monthly'" class="layui-input-block">
	    		<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_monthly" th:ffct="${fixdict.fieldFrontConditionsType}">
    			<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
    			<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
	    	</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_datetime'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_datetime" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkcondition'" class="layui-input-block">
				<input type='checkbox' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="search-field" lay-skin="primary" fft="t_checkcondition" th:attr="checked=${fixdict.fieldFrontConditionsDefault ne ''?true:false}">
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_radio'" th:switch="${fixdict.fields}" class="layui-input-block">
				<div th:case="userSex">
					<input type="radio" id="userSex" name="userSex" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSex" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="userSexDA">
					<input type="radio" id="userSexDA" name="userSexDA" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSexDA" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="*">
					<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
					<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkbox'" class="layui-input-block">
				<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
				<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${#strings.containsIgnoreCase(fixdict.fieldFrontType,'t_buttontext')}" class="layui-input-block">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field buttontext" th:getType="${fixdict.fields}" autocomplete="off"/>
				<i class="layui-icon layui-icon-more getMore" th:onclick="getMore([[${fixdict.fields}]],null,[[${fixdict.fieldName}]],[[${fixdict.fieldSearchType}]],true);" th:getType="${fixdict?.fields}"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdown'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdownedit'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input" style="position:absolute;overflow:hidden;z-index:2;width: calc(100% - 30px);" lay-verify="required" onkeyup="inputSearch()" onblur="refreshSelect()" autocomplete="off">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
		</div>
		<div class="layui-hide append-this"></div>
	</div>
	<div class="layui-form-item btn-item">
		<a class="layui-btn layuiadmin-btn-order dhicon dh-search" th:id="${rootId + '-btn'}"><span class="fa_span">查询</span></a>
		<button type="reset" class="layui-btn layui-btn-primary dhicon dh-refresh reset" id="dh-resets"><span class="fa_span">重置</span></button>
	</div>
</div>
<!-- 查询条件——右侧(带moduleTable参数) -->
<div th:fragment="searchRightWithMT(mt)">
	<div class="layui-form layuiadmin-card-header-auto" th:with="fixtype=${@baseinfosimple.getFieldFrontConditions(mt)}">
		<div class="layui-form-item">
			<label class="layui-form-label">扩展条件：</label>
			<div class="layui-input-block">
				<select id="condition" name="condition" th:with="type=${fixtype}" lay-filter="fft">
					<option th:if="${dict.fieldFrontConditionsFixed} eq false" th:each="dict : ${type}" th:text="${dict.fieldName}" th:value="${dict.fields}" th:fft="${dict.fieldFrontType}" th:ffct="${dict.fieldFrontConditionsType}" th:fst="${dict.fieldSearchType}" th:fieldDefault="${dict.fieldFrontConditionsDefault}"></option>
				</select>
			</div>
		</div>
		<div th:class="${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'layui-form-item item-height':'layui-form-item'}" th:if="${fixdict.fieldFrontConditionsFixed} eq true" th:each="fixdict : ${fixtype}" th:style="${fixdict.fieldFrontTemplet eq 't_textarea' ? 'height:auto' : ''}">
			<label class="layui-form-label">[[${fixdict.fieldName}]][[${fixdict.fieldFrontConditionsType eq 't_between' and fixdict.fieldFrontType ne 't_date' and fixdict.fieldFrontType ne 't_datetime'?'从':''}]]：</label>

			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_s'" th:id="${fixdict.fields}+'_s'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>
			<label th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-form-label">到：</label>
			<div th:if="(${fixdict.fieldFrontConditionsType} eq 't_between') and ((${fixdict.fieldFrontType ne 't_date'}) and (${fixdict.fieldFrontType ne 't_datetime'}))" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}+'_e'" th:id="${fixdict.fields}+'_e'" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
			</div>

			<div th:if="(${fixdict.fieldFrontType} eq 't_text' or ${fixdict.fieldFrontType} eq 't_textarea') and (${fixdict.fieldFrontConditionsType} ne 't_between')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_textarea'}" type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<textarea th:if="${fixdict.fieldFrontTemplet eq 't_textarea'}" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-textarea search-field" fft="t_text_area" th:ffct="${fixdict.fieldFrontConditionsType}"></textarea>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="(${fixdict.fieldFrontType} eq 't_decimal')" class="layui-input-block">
				<input th:if="${fixdict.fieldFrontTemplet ne 't_number'}" type='number' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_text" th:ffct="${fixdict.fieldFrontConditionsType}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_year'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_year" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
	    	<div th:if="${fixdict.fieldFrontType} eq 't_monthly'" class="layui-input-block">
	    		<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_monthly" th:ffct="${fixdict.fieldFrontConditionsType}">
    			<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
    			<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
	    	</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_date'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_date" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_datetime'" class="layui-input-block">
				<input type='text' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field" autocomplete="off" fft="t_datetime" th:ffct="${fixdict.fieldFrontConditionsType}">
				<i class="dhicon dh-calendar icon_date_business" style="z-index:1"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkcondition'" class="layui-input-block">
				<input type='checkbox' th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="search-field" lay-skin="primary" fft="t_checkcondition" th:attr="checked=${fixdict.fieldFrontConditionsDefault ne ''?true:false}">
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_radio'" th:switch="${fixdict.fields}" class="layui-input-block">
				<div th:case="userSex">
					<input type="radio" id="userSex" name="userSex" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSex" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="userSexDA">
					<input type="radio" id="userSexDA" name="userSexDA" value="男" title="男" class="search-field" fft="t_radio">
					<input type="radio" name="userSexDA" value="女" title="女">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
				<div th:case="*">
					<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
					<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
					<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
				</div>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_checkbox'" class="layui-input-block">
				<input type="radio" th:id="${fixdict.fields}" th:name="${fixdict.fields}" value="0" title="否" class="search-field" fft="t_radio">
				<input type="radio" th:name="${fixdict.fields}" value="1" title="是">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${#strings.containsIgnoreCase(fixdict.fieldFrontType,'t_buttontext')}" class="layui-input-block">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input search-field buttontext" th:getType="${fixdict.fields}" autocomplete="off"/>
				<i class="layui-icon layui-icon-more getMore" th:onclick="getMore([[${fixdict.fields}]],null,[[${fixdict.fieldName}]],[[${fixdict.fieldSearchType}]],true);" th:getType="${fixdict?.fields}"></i>
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdown'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
			<div th:if="${fixdict.fieldFrontType} eq 't_dropdownedit'" class="layui-input-block dropdown" th:fieldName="${fixdict.fields}">
				<input type="text" th:name="${fixdict.fields}" th:id="${fixdict.fields}" class="layui-input" style="position:absolute;overflow:hidden;z-index:2;width: calc(100% - 30px);" lay-verify="required" onkeyup="inputSearch()" onblur="refreshSelect()" autocomplete="off">
				<a class='dhicon dh-undo search-repeat' th:data-name="${fixdict.fields}">&nbsp;</a>
			</div>
		</div>
		<div class="layui-hide append-this"></div>
	</div>
	<div class="layui-form-item btn-item">
		<a class="layui-btn layuiadmin-btn-order dhicon dh-search" id="btn-search"><span class="fa_span">查询</span></a>
		<button type="reset" class="layui-btn layui-btn-primary dhicon dh-refresh reset" id="dh-resets"><span class="fa_span">重置</span></button>
	</div>
</div>
<!-- 查询列表生成模板（包括数据表格及查询条件的模板） -->
<div th:fragment="list-templeat">
	<div th:each="dfpl : ${gridColumns.dictionaryForPageFieldList}" th:remove="tag">
		<script type="text/html" th:if="${#strings.containsIgnoreCase(dfpl.fieldFrontType,'t_dropdown')}" th:with="vtype=${#strings.substringAfter(#strings.substringAfter(dfpl.fieldSearchType,'_'),'_')}" th:id="'dropdown_'+${dfpl.fields}">
    		<select th:id="${dfpl.fields}" th:name="${dfpl.fields}" th:lay-filter="${dfpl.fields}+'_select'" class="search-field" th:with="map=${@baseinfosimple.getDropdownData(dfpl.fieldSearchType,dfpl.fieldFrontSave,dfpl.fieldFrontShow)}" fft="t_dropdown">
				<option></option>
				<option th:each="dict : ${map}" th:text="${dict.vname}" th:value="${dict.vname}"></option>
			</select>
		</script>
		<script type="text/html" th:if="${dfpl.fieldFrontType eq 't_checkbox'}" th:id="'checkbox_'+${dfpl.fields}">
    		<input th:utext="'<input type=\'checkbox\' lay-skin=\'switch\' lay-text=\'是|否\' {{Number(d.'+${dfpl.fields}+')?\'checked\':\'\'}} disabled>'" th:remove="tag">
		</script>
		<script type="text/html" th:if="${#strings.containsIgnoreCase(dfpl.fieldFrontTemplet,'p_')}" th:id="'templet_'+${dfpl.fields}">
    		<span>{{d.[[${dfpl.fields}]] + '%'}}</span>
		</script>
	</div>
</div>